<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/icon" href="<?php echo base_url()?>assets/images/lg_03.ico">	
<title>Menu Manager</title>
<link rel="stylesheet" type="text/css" href="<?php echo base_url()?>assets/grocery_crud/css/font-awesome.min.css">
<style type="text/css">

::selection{ background-color: #E13300; color: white; }
::moz-selection{ background-color: #E13300; color: white; }
::webkit-selection{ background-color: #E13300; color: white; }

body {
/*	background-color: #fff;*/
	margin: 0px;
	font: 13px/20px normal Helvetica, Arial, sans-serif;
	color: #4F5155;	background:transparent;
}

a {
	color: #003399;
	background-color: transparent;
	font-weight: normal;
}

h1 {
	color: #444;
	background-color: transparent;
	border-bottom: 1px solid #D0D0D0;
	font-size: 19px;
	font-weight: normal;
	margin: 0 0 14px 0;
	padding: 14px 15px 10px 15px;
}

code {
	font-family: Consolas, Monaco, Courier New, Courier, monospace;
	font-size: 12px;
	background-color: #f9f9f9;
	border: 1px solid #D0D0D0;
	color: #002166;
	display: block;
	margin: 14px 0 14px 0;
	padding: 12px 10px 12px 10px;
}

#container {
	margin: 10px;
	border: 1px solid #D0D0D0;
	-webkit-box-shadow: 0 0 8px #D0D0D0;
	background: #fff;
}
#container .problem{
	background: pink;
	padding: 2px;
}

p {
	margin: 12px 15px 12px 15px;
}
.error-page a{
	text-decoration:  none;
	font-weight: bold;
}
.error-page a:hover span{
	text-decoration: underline;
}
table.list{
	border-collapse: collapse;
	margin: 0 auto;
	margin-bottom: 1em;
}
div.list  h4{
	/*text-align: center;*/
	padding-left: 10px !important;
	display: block;
	background: #dedede;
	padding: 2px;
	border-top: dashed 1px #fff;
	border-bottom: dashed 1px #fff;
}
table.list th{
	background: #333;
	color: #dedede;
}
table.list,table.list th,
table.list td{
	border-color: #dedede;
}
span.base-url{
	color: #333;
	font-weight: bold;
	display: none;
}
button.btn{
	background: #dedede;
	border: solid 1px #333;
	padding: 2px;
	cursor: pointer;
	border-radius: 4px;
	font-size: 10px;
}
</style>
</head>
<body>
	<div id="container">
		<h1><?php echo "MENU MANAGER"; ?></h1>
		
		<div class="list">
			<table border="1" class="list acl"  width="98%" cellpadding="3" colspacing="3">
				
					<thead>
						<tr><th>Caption</th>
							<th align="right">Module</th>
							<th width="4px">/</th>
							<th align="left">Section</th>

							<th>ACL</th>
							<th>ACTION</th>
						</tr>
					</thead>
					<tbody>
						<?php foreach($menu_list as $caption => $menu){?>
						<tr>
							<td><?php echo $caption?></td>
							<td align="right"><?php echo $menu['module']?></td>
							<td>/</td>
							<td><?php echo $menu['section']?></td>
							<td align="center"><?php echo implode(',', $menu['acl'] )?></td>
							<td><?php echo ''?></td>
						</tr>
						<?php }?>
					</tbody>
				
			</table>
		</div>
		<!-- <div class="error-page">
			<p><a id="backUrl" href="<?php echo base_url()?>"><i class="fa fa-home"></i>&nbsp;<span>Back To Main Page</span></a></p>
			<p><a href="<?php echo base_url()?>session/logout?login_as_different_user=true"><i class="fa fa-power-off"></i>&nbsp;<span>Logout Then Login As Different User ?</span></a></p>
		</div> -->
	</div>
</body>
</html>
<script type="text/javascript">
if(window.top != window)
{
	//document.getElementById('backUrl').href = '<?php echo base_url()?>welcome/greeting';
}
</script>